//Source file: D:\\test\\com\\ce\\pms\\charge\\model\\ChargeType.java

package com.ce.pms.charge.model;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ce.pms.common.model.SysInfo;
import com.sitechasia.webx.core.model.IDomainObject;

/**
 * 实体名称:收费类型 关联数据表:FEE_CHAR_TYPE
 */
@Entity
@Table(name = "FEE_CHAR_TYPE")
public class ChargeType implements IDomainObject{

	/**
	 * 关键字
	 */
	@Id
	@GeneratedValue
	@Column(name = "CHAR_TYPE_ID")
	private Long charTypeId;

	/**
	 * 类型代码
	 */
	@Column(name = "CLASS_CODE", nullable = false, length = 3)
	private String classCode;

	/**
	 * 类型名称
	 */
	@Column(name = "CLASS_NAME", nullable = false, length = 100)
	private String className;

	@Embedded
	private SysInfo sysInfo;

	/**
	 * @roseuid 48757D120148
	 */
	public ChargeType() {

	}
	/**
	 *
	 * @param classCode 类型代码
	 * @param className 类型名称
	 * @param sysInfo   系统信息
	 */
	public ChargeType(String classCode, String className, SysInfo sysInfo) {
		super();
		this.classCode = classCode;
		this.className = className;
		this.sysInfo = sysInfo;
	}
	public Long getCharTypeId() {
		return charTypeId;
	}
	public void setCharTypeId(Long charTypeId) {
		this.charTypeId = charTypeId;
	}
	public String getClassCode() {
		return classCode;
	}
	public void setClassCode(String classCode) {
		this.classCode = classCode;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public SysInfo getSysInfo() {
		return sysInfo;
	}
	public void setSysInfo(SysInfo sysInfo) {
		this.sysInfo = sysInfo;
	}

}
